.TH "Document3d" 3 "5 Aug 2010" "Version 1.3" "AnyCAD dotNet API" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Document3d \- 
.SH SYNOPSIS
.br
.PP
.PP
Inherits ObjectAPI< Caxsoft::AcDocument3d >.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBDocument3d\fP (\fBDocumentListener3d\fP^ pListener)"
.br
.ti -1c
.RI "bool \fBNewDocument\fP (System::String^ strName)"
.br
.ti -1c
.RI "bool \fBSaveDocument\fP (System::String^ strFileName)"
.br
.ti -1c
.RI "bool \fBOpenDocument\fP (System::String^ strFileName)"
.br
.ti -1c
.RI "bool \fBLoadComponent\fP (System::String^ strFileName)"
.br
.ti -1c
.RI "\fBEntityNode\fP^ \fBFindEntityNode\fP (int nUserId)"
.br
.ti -1c
.RI "void \fBAddEntityNode\fP (\fBEntityNode\fP^ pNode)"
.br
.ti -1c
.RI "void \fBRemoveEntityNode\fP (\fBEntityNode\fP^ pNode)"
.br
.ti -1c
.RI "\fBEntityNode\fP^ \fBFindEntityNodeById\fP (int nId)"
.br
.ti -1c
.RI "void \fBAddTextNode\fP (\fBTextNode\fP^ pNode)"
.br
.in -1c
.SS "Properties"

.in +1c
.ti -1c
.RI "\fBEntityNodeListener\fP^  \fBEntityListener\fP\fC [get, set]\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Document which is used to store EntityNodes. 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "Document3d::Document3d (\fBDocumentListener3d\fP^  pListener)"Construct the document 
.PP
\fBParameters:\fP
.RS 4
\fIpListener\fP pass the \fBApplication\fP object 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "void Document3d::AddEntityNode (\fBEntityNode\fP^  pNode)"Add \fBEntityNode\fP object Called by the framework 
.PP
\fBParameters:\fP
.RS 4
\fIpNode\fP the node 
.RE
.PP
\fBReturns:\fP
.RS 4
void 
.RE
.PP

.SS "void Document3d::AddTextNode (\fBTextNode\fP^  pNode)"Add Text Node. 
.SS "\fBEntityNode\fP Document3d::FindEntityNode (int nUserId)"Find an \fBEntityNode\fP by user defined id If failed to find the \fBEntityNode\fP, it will throw exception: System::Collections::Generic::KeyNotFoundException 
.PP
\fBParameters:\fP
.RS 4
\fInUserId\fP the user defined id 
.RE
.PP
\fBReturns:\fP
.RS 4
the \fBEntityNode\fP. 
.RE
.PP

.SS "\fBEntityNode\fP Document3d::FindEntityNodeById (int nId)"Find \fBEntityNode\fP by id, not user id. 
.SS "bool Document3d::LoadComponent (System::String^  strFileName)"Load a AnyCAD component 
.PP
\fBParameters:\fP
.RS 4
\fIstrFileName\fP the file name 
.RE
.PP
\fBReturns:\fP
.RS 4
false or true 
.RE
.PP

.SS "bool Document3d::NewDocument (System::String^  strName)"Create an empty document 
.PP
\fBParameters:\fP
.RS 4
\fIstrName\fP the document name 
.RE
.PP
\fBReturns:\fP
.RS 4
false if failed to create the document 
.RE
.PP

.SS "bool Document3d::OpenDocument (System::String^  strFileName)"Open a scene file with AnyCAD format 
.PP
\fBParameters:\fP
.RS 4
\fIstrFileName\fP the file name 
.RE
.PP
\fBReturns:\fP
.RS 4
false or true 
.RE
.PP

.SS "void Document3d::RemoveEntityNode (\fBEntityNode\fP^  pNode)"Remove the \fBEntityNode\fP 
.PP
\fBParameters:\fP
.RS 4
\fIpNode\fP the node 
.RE
.PP
\fBReturns:\fP
.RS 4
void 
.RE
.PP

.SS "bool Document3d::SaveDocument (System::String^  strFileName)"Save the document to scene file 
.PP
\fBParameters:\fP
.RS 4
\fIstrFileName\fP the file name 
.RE
.PP
\fBReturns:\fP
.RS 4
false or true 
.RE
.PP

.SH "Property Documentation"
.PP 
.SS "\fBEntityNodeListener\fP^ Document3d::EntityListener\fC [get, set]\fP"Get or set the entity node listener 

.SH "Author"
.PP 
Generated automatically by Doxygen for AnyCAD dotNet API from the source code.
